/**
 *
 * @author: Adam Stroud
 * Created March 12, 2014
 */

#ifndef ANDROIDCONTROL_H_
#define ANDROIDCONTROL_H_

#define MAINFILE


#include <stdio.h>
#include <time.h>
#include <string.h>
#include <cstdlib>
#include <errno.h>
#include <sys/socket.h>
#include <resolv.h>
#include <arpa/inet.h>
#include <unistd.h>

#define MY_PORT		9923
#define MAXBUF		1024
#define UDP			1

#define USPI 150
#define BIAS 300
#define CLIFF 3

#define ABS(x) (x > 0 ? x : -x)

 class Android_Control {
public:
	Android_Control();
	virtual ~Android_Control();
	int step(bool);
	void openConnection();
	void closeConnection();

};

#endif /*ANDROIDCONTROL_H_ */
